home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.eiffel,comp.lang.c,comp.lang.c++,comp.object,comp.software-eng
- Subject: Re: Beware of "C" Hackers -- A rebuttal to Bertrand Meyer
- Date: 24 Mar 1996 07:27:01 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4j3pk5INN59u@keats.ugrad.cs.ubc.ca>
- References: <1995Jul3.034108.4193@rcmcon.com> <jmaling-2303960413010001@slwol1p47.ozemail.com.au> <4iv933INN7f2@keats.ugrad.cs.ubc.ca> <4j2dgp$ik5@news4.digex.net>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <4j2dgp$ik5@news4.digex.net>, Ell <ell@access1.digex.net> wrote:
- >Kazimir Kylheku (c2a192@ugrad.cs.ubc.ca) wrote:
- >: You can benefit from
- >: OO approaches even ifyou use languages like C and Modula 2. You don't need
- >: the
- >: extra linguistic frills to benefit from the useful concepts of the paradigm.
- >
- >You need the polymorphic tools of oopls to most easily exercise the oo
- >polymorphism you need for good modelling.
-
- I'd tend to agree. The key word, of course, is _easily_, which doesn't rule out
- the exercise of polymorphism in C.
-
- I drag a small bulk of reusable C code from environment to environtment: a list
- module, extendible hashing and so on. These I can use to store objects of any
- data type.
-
- If I wanted run-time typing, I'd assign integral type codes (symbolically named
- after the types) to all data structures, and push these around explicitly.
-
- >Elliott
-
-
- --
-
-